<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Edit Teacher</title>
</head>
<body>
    <form action="/teacher/update" method="post">
        <label>ID</label>
        <input type="text" name="id" th:value="${teacher.id}" readonly>
        <label>Name</label>
        <input type="text" name="name" th:value="${teacher.name}">
        <label>Age</label>
        <input type="text" name="age" th:value="${teacher.age}">
        <label>Tel</label>
        <input type="text" name="tel" th:value="${teacher.tel}">
        <input type="submit" value="更新">
    </form>
</body>
</html>